<?php
    include 'validation.php';
?>
<form name="frmRegister" method="post" action="register.php" onSubmit="JavaScript:return chkRegisterData();">
<table border="1" width="400" cellspacing="0" cellpadding="0">
    <tr>
        <td colspan="2" align="center">ลงทะเบียน</td>
    </tr>
    <tr>
        <td>ชื่อ :</td>
        <td><input name="f_name"/></td>
    </tr>
    <tr>
        <td>นามสกุล :</td>
        <td><input name="l_name"/></td>
    </tr>
    <tr>
        <td>เบอร์โทรศัพท์ :</td>
        <td><input name="phone" maxlength="10" onKeyUp="JavaScript:chkNumber();"/></td>
    </tr>
    <tr>
        <td>Email :</td>
        <td><input name="email"/></td>
    </tr>
    <tr>
        <td>Password :</td>
        <td><input type="password" name="passwd"/></td>
    </tr>
    <tr>
        <td>Confirm Password :</td>
        <td><input type="password" name="c_passwd"/></td>
    </tr>
    <tr>
        <td colspan="2" align='center'><input type="submit" name="btnRegister" value="ลงทะเบียน" style='width :250px'/></td>
    </tr>
</table>
</form>
